<?php
/*
 * author: li
 * createtim:2019/5/13 18:50
 * description:
 */
namespace app\admin\model;

use think\Model;
use app\admin\model\Student;

class Excelexport extends Student
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'student';
    public function getSstatusAttr($value)
    {
        $status = [
            0=>"已沉默",
            1=>"已签约",
            2=>"咨询中",
            3=>"新资源",
            4=>"旧资源",
            5=>"长期资源"
        ];
        return $status[$value];
    }
}